﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/MasterBody.Master" AutoEventWireup="true" CodeBehind="Safety.aspx.cs" Inherits="Besture.UI.Member.Safety" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript" src="/js/jquery.validate.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Content" runat="server">
    <div class="banner">
    	<div class="help-ban w980"><img src="/Upload/Images/Banner/<%=_BannerTop.ImageUrl%>"/>
        	<%=_BannerTop.ImageRemark%>
        </div>
    </div>
    
	<div class="main">
		<div class="w980">
        	<div class="position">
                您当前的位置：<a href="/Index.aspx">首页</a> &gt; <a href="Member.aspx">会员中心</a> &gt; 账号安全
            </div>
            <div class="map-cen clearfix">
            	<div class="map-left">
                      <h2>会员中心</h2>
                      <div class="leftnav">
                          <ul>
                              <li><a href="Member.aspx"><span>会员中心</span> </a></li>
                              <li><a href="Sold.aspx"><span>在售产品</span></a></li>
                              <li><a href="Make.aspx"><span>我的预约</span> </a></li>
                              <li class="on"><a href="javascript:void(0);"><span>账号安全</span></a></li>
                         </ul>
                     </div>
                </div>
                <div class="map-right">
                	<div class="map-righta">
                        <h2>账号安全</h2>
                    </div>
                    <div class="member clearfix">
                    	<div class="safety-left">
                        	<table width="100%" class="safety-tab">
                              <tr>
                                <td class="safety-td">手机号码：</td>
                                <td><input type="text" ID="txtPhone" runat="server" value="" placeholder="13816760513" class="required mobile" name="mobile"/></td>
                              </tr>
                              <tr class="errortr">
                                 <td class="safety-td">&nbsp;</td>
                                 <td>&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="safety-td">原密码：</td>
                                <td><input ID="txtPassword" runat="server" type="password" value="" class="required" name="one"/></td>
                              </tr>
                              <tr class="errortr">
                                 <td class="safety-td">&nbsp;</td>
                                 <td>&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="safety-td">新密码：</td>
                                <td><input ID="txtPasswordNew" runat="server" type="password" value="" class="required" name="one1"/></td>
                              </tr>
                              <tr class="errortr">
                                 <td class="safety-td">&nbsp;</td>
                                 <td>&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="safety-td">确认密码：</td>
                                <td><input ID="txtPasswordNewCom" runat="server" type="password" value="" class="required" name="one2"/></td>
                              </tr>
                              <tr class="errortr">
                                 <td class="safety-td">&nbsp;</td>
                                 <td>&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="safety-td">&nbsp;</td>
                                <td class="safety-tda"><asp:Button runat="server" ID="btnSubmit" Text="保存" OnClick="btnSubmit_Click"  /></td>
                              </tr>
                            </table>

                        </div>
                        <div class="safety-right">
                        	<p class="safety-righta">小贴士</p>
                            <p>将登录密码设置为8位以上，数字、大小写字母、特殊字符混合型是相对安全的，但通常不方便记忆，在这里我们教您一个小窍门：尝试用字母"O"代替数字零等等。同时，我们建议您每隔半年修改一次登录密码。</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
	</div><!-- //main -->
    <script type="text/javascript">
        $(function () {
            $("#TopMenu li").removeClass("on").eq(11).addClass("on");
            $("#aspnetForm").validate({
                errorPlacement: function (error, element) {

                    error.appendTo(element.parent().parent().next(".errortr").children("td:eq(1)"));
                }
            });
        });
</script>
</asp:Content>
